package com.yuanfengerp.purchase.service;


import com.yuanfengerp.publicUtil.Result;
import com.yuanfengerp.purchase.entity.PurchaseReceipt;

import java.util.List;
import java.util.Map;

public interface IPurchaseReceiptService {
    Result<List<PurchaseReceipt>> queryPurchaseReceipt(Map<String, Object> params);
    //  新增采购订单
    Result<String> addPurchaseReceipt(PurchaseReceipt purchaseReceipt);
    //  查看单条采购订单
    Result<PurchaseReceipt> queryPurchaseReceiptById(String purchase_receipt_id);
    //  修改单条采购订单
    Result<String> updatePurchaseReceiptById(PurchaseReceipt purchaseReceipt);
    //  删除单条采购订单
    Result<String> deletePurchaseReceipt(String purchase_receipt_id);
    //  单条审核通过采购订单，接收到的是一个包含出库单ID的数组
    Result<String> updatePurchaseReceiptAgree(String purchase_receipt_id);
    //  单条审核拒绝采购订单
    Result<String> updatePurchaseReceiptRefuse(String purchase_receipt_id);

}
